//
//  ShoppingCar.h
//  Wujin
//
//  Created by 东 on 16/12/10.
//  Copyright © 2016年 dong. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ShoppingCar : UIViewController<UITableViewDelegate,UITableViewDataSource>

@property (weak, nonatomic) IBOutlet UITableView	*tableView;
@property (weak, nonatomic) IBOutlet UIButton *deleteBtn;
@property (weak, nonatomic) IBOutlet UIButton *makeOrder;
@property (weak, nonatomic) IBOutlet UIButton *allSelectBtn;
@property(nonatomic, strong) NSMutableArray *dataArray;
@property(nonatomic, strong) NSMutableArray *orderArr;//删除数据的数组
@property(nonatomic, strong) NSMutableArray *markArr;//标记数据的数组

@end

typedef void(^CellCheckBlock)();

@interface GoodsCell : UITableViewCell
{

    __weak IBOutlet UIButton    *_checkBtn;
    __weak IBOutlet UIImageView *_goodsImg;
    
    __weak IBOutlet UILabel *_nameLab;
    __weak IBOutlet UILabel *_typeLab;
    __weak IBOutlet UILabel *_countLab;
    __weak IBOutlet UILabel *_priceLab;
    __weak IBOutlet UILabel *_totalPriceLab;
}

@property (nonatomic, strong) OrderGoodsModel *model;
@property (nonatomic, copy) CellCheckBlock block;

@end
